<template>
  <div class="hello">
    <ul>

      <li><router-link :to="{name:'news'}">新闻</router-link> </li>
      <li><router-link :to="{name:'concat'}">练习我们</router-link></li>
      <li>点餐文档</li>
      <li>快递</li>
    </ul>
    <div>
      <!-- //想要在about里面嵌套一个二级路由 -->
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.hello{
  display: flex;
}
.hello>ul{
  flex-grow: 1;
}
.hello>div{
  flex-grow: 3;
  border: 1px solid black;
  padding: 30px;
  box-sizing: border-box;
}
</style>
